Added Expected exception to test of method GetAnswerAsJsonString in WebApi.