expectStatus made to use the newly created Response::getStatus