Fix statusCode order in test expects