Test app in Ruby on Rails