modified test.rb