Add more zql erb template test case with conditional branch