added a test file for dao