Avoid test failure for Rails 4.2.0 caused by AMS 0.9.2