added test to search for orders