add unit tests for early eval in IF expr with subtemplates