Write test for RPN token generation with and without jump command reordering.

Change-Id: I45d83448be04e0983f39ca28392671cf84ae928c
Add unit test for IF function.

Change-Id: I2265458883fb05582c54157714b88345362efa0d
Add test for CHOOSE function.

This function is also a jump function requiring a special RPN reordering.

Change-Id: I34f68875febeb4fb8c78527d763d4a6352f50b03