Move helper methods inside 'TestServer#initialize'