adds status code checking test cases