Add Dao and database test and configuration
Merge pull request #1 from arthens/features/database-tests

Add Dao and database test and configuration