DAO classes with test cases.