The error code should not be sent as data as it isn't passed onto the client as body data, so cannot be compared in the test suite against expected data.