Fixing issue with group tests

From dbfb634ada5ec4f71c4cd8d5ee43f0abc392bbcd, the way DAO returned
objects were changed to simple lists / dicts instead of object
instance(s). The test was using the old version and hence had to adapt
to the new changes