Status code tests fixed