Test compatibility with Rails 4.1 and 4.2

cc @osheroff 
@osheroff This is the only test failing now. Could you please take another look at it?