test.rb updated