test.rb for example