Added integration test for DAO