Test status code checks.