Attempt to fix database setup for tests