*            Group to check for existence.
      * 
      */
-    protected void checkGroupExists(String aGroup) throws SQLException {
+    protected void checkGroupExists(String aGroup) throws Exception {
         // Empty
     }
 
      *            Group to check for non-existence.
      * 
      */
-    protected void checkGroupNotExists(String aGroup) throws SQLException {
+    protected void checkGroupNotExists(String aGroup) throws Exception {
         // Empty
     }
 
      *            Expected number of groups.
      * 
      */
-    protected void checkGroupCount(int aSize) throws SQLException {
+    protected void checkGroupCount(int aSize) throws Exception {
         assertEquals(aSize, groups.size());
     }
 
      * and contains().
      * 
      */
-    public void testAdd() throws SQLException {
+    public void testAdd() throws Exception {
         Group group = new Group("group1");
         assertTrue(groups.add(group));
         checkGroupExists(group.getName());
      * Tries to find a non-existing group. Verifies that null is returned.
      * 
      */
-    public void testFindUnknownGroup() throws SQLException {
+    public void testFindUnknownGroup() throws Exception {
         Group group1 = new Group("group1");
         Group group2 = new Group("group2");
         groups.add(group1);
      * Adds duplicate group. Verifies that the existing group is left untouched.
      * 
      */
-    public void testAddDuplicateGroup() throws SQLException {
+    public void testAddDuplicateGroup() throws Exception {
         Group group1 = new Group("group1");
         groups.add(group1);
 
      * is true.
      * 
      */
-    public void testRemoveGroup() throws SQLException {
+    public void testRemoveGroup() throws Exception {
         Group group1 = new Group("group1");
         groups.add(group1);
         assertTrue(groups.contains(group1));
      * the return value is true.
      * 
      */
-    public void testRemoveNonExistingGroup() throws SQLException {
+    public void testRemoveNonExistingGroup() throws Exception {
         Group group1 = new Group("group1");
         groups.add(group1);
         checkGroupCount(1);
 
         Group nonExistingGroup = new Group("group2");
-        nonExistingGroup.setPrimaryKey(new Long(1000));
-        nonExistingGroup.setPersistedVersion(1000);
         assertFalse(groups.remove(nonExistingGroup));
         assertTrue(groups.contains(group1));
         assertEquals(1, groups.list().size());
      * all.
      * 
      */
-    public void testList() throws SQLException {
+    public void testList() throws Exception {
         Group group1 = new Group("group1");
         Group group2 = new Group("group2");
         Group group3 = new Group("group3");