Implemented a test for generating a new database.