Test application in Rails 4