Support for spree 1.3.x

I had trouble running specs, but now they all pass with spree 1.3.x.