Add unittests for multiple ELSEs in a row

IF ELSE ELSE ENDIF is a valid construct; execution or non-execution
inverts on each ELSE encountered.
Merge pull request #2849 from petertodd/if-else-else

Add unittests for multiple ELSEs in a row