added validations for order creation and test