Dao and some test classes