adapt expected failure output of test