Initialize database for testing.