Added functional tests for ValidateOrderParameters