Unit test for DAO objects