Handle differences in test output