Fix specs
Logs at the correct level based on the response status