Refactoring orders tests to use data driven tests

Change-Id: Ia9d8631ae385d763f277dc669eea58f096311d62