improve grep for failed tests