updated test.rb