Refactor vt query tests.

- Test all scenarios sync + async.
- Test with multiple features for line/polygon distance sort order.