fix coverage and simpleJsonApiResponse() middleware error message