MODE-2138 Added test to verify order by path works with new query engine