Added status code assertion