Made sure createTable was used if database is empty.

Fixed the tests by adding some curly braces and added semicov as a devDependency
Merge pull request #16 from vogonistic/pr-use-createtable

Made sure createTable was used if database is empty.