fix a pact test