Test application in Ruby on Rails