HPCC-10412 Add test cases for the #elseif fixes

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>