Testing refinements available in ruby 2.1 and greater.