fix test muting to work for Ruby > 1.9