makes test pass for spree-1.2