Extract common behaviour in FailIntegrationTest