Fixed failing test for #364. Test framework returns HTML responses instead of JSON for ProcessingExceptions.