Add test case for status codes.