Add some unit tests for models/db
Fix tests for dbSelectOne
Merge pull request #109 from dionyziz/db_test

Add some unit tests for models/db