Add test for Rails 4.0.