add simple unit tests on DAO