Is the code for creating a new database covered by unit-tests? I am surprised this issue was not caught by the test suite.