update the example closure pact test