Added/updated integration tests to test distance and closing date ordering