Moved the database setup section before the test server