Moved test database creation into test script.