test.rb modified