Test for lps 42599

Dante, we are about to apply LPS-42599 globally, before that I want you to confirm the perf impact first.

This is affecting custom sql queries in XXFinderImpl.java only. So should have higher impact for complex test cases.

But anyway, run a comparison on all test cases, let me know the results.