[TEST] Change 500 error to 400 invalid.