create stock location that passes validations

Closes #5296
Create Spree::Core::ControllerHelpers::Order module's test
Fixes #5298
Fix deprecation.