test with Rails 4