improved test for failures so it only triggers on real failure messages