     ) ->
       command_serve()
         .then ->
-          requestPromise(
-            method: 'GET'
-            url: envStringBaseUrl + '/react'
-          )
-        .then ([response]) ->
-          test.equal response.statusCode, 200
-          test.equal response.headers['content-type'], 'text/html; charset=utf-8'
-          test.equal response.body, '<div id="content"></div>'
+          got envStringBaseUrl + '/react'
+        .then (res) ->
+          test.equal res.statusCode, 200
+          test.equal res.headers['content-type'], 'text/html; charset=utf-8'
+          test.equal res.body, '<div id="content"></div>'
           shutdown()
         .then ->
           test.done()

    ) ->
      command_serve('helloWorldServer')
        .then ->
          requestPromise(
            method: 'GET'
            url: envStringBaseUrl
          )
        .then ([response]) ->
          test.equal response.statusCode, 200
          test.equal response.body, 'Hello World'
          shutdown()
        .then ->
          test.done()

    ) ->
      command_serve()
        .then ->
          got envStringBaseUrl + '/not-found'
        .catch got.HTTPError, (err) ->
          test.equal err.statusCode, 404
          test.equal err.response.body, 'Not Found'
          shutdown()
        .then ->
          test.done()
