Adjusted test.sh so it should hopefully create the test database.