adding unit tests for creating databases