added error body and schema test