added a function automatically to make a test database if it doesn't exist.