Adding a test for status code