Fix test failures

The tests were overly strict asserting things about pytest output

I think pytest output changed a bit in recent versions.

This makes the tests a bit looser.