Test in rails 4.2 and ruby 2.2