Add test for CHOOSE function.

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

Change-Id: I34f68875febeb4fb8c78527d763d4a6352f50b03