Update tests after adding global failure codes