Closes #27 Adding tests for metadata/database
Merge pull request #65 from erikvold/27

Closes #27 Adding tests for metadata/database