GEOT-4776: Adding low level tests for heterogeneous case