fixes to get pact specs working again