HPCC-9507 Alterations after second review

Including e.g.: Add ASSERTS in regression test.

Signed-off-by: jamienoss <james.noss@lexisnexis.com>