test in ruby 2.2
fix test