Fix rails32 tests