correction of small mistakes, test of iterator, retainAll method

oldsize - > oldSize
assertTrue(r1 && r2 && ... && rn); -> assertTrue(r1); ...;
assertTrue(rn);
changed test of bagIterator on grouping values
changed the method retainAll