test for wrong value of status code