add unit tests for early eval in IF expr with subtemplates
Merge pull request #69 from parrt/eval-in-if-expr

add unit tests for early eval in IF expr with subtemplates