test ansi sequence color in ruby script when test failed