Add test for returning 500 if client returns non-JSON response