Ruby on Rails 4.1 for example how to test an app