Fixed refinement tests for ruby 2.0