test database adapter
Merge pull request #4 from kousen/8-tests

test database adapter