adding JUnit tests for UseDAO
adding JUnit tests for UseDAO