Guard gem for Test Anything Protocol