Re-instate code

- 29030f7 removed an if/then/else block that helped build the response
  text from the view model, and should not have. This commit reinstates
  that code, allowing tests to pass again.
Merge branch 'hotfix/zend-test-console' into develop

Fixes failing unit tests in the Zend\Test component