Add order query test case.