DAO: preferences
DAO: profile
DAO: final structure
DAO: moved a test from Groovy to Java
DAO: corrected a few tests
DAO: correction of unit tests