Test statusCode