Setting up the test server is fine, it's the global variable that is setting off my code smell alarm.