Explore various undefined values in templates

Note that this manifest gives different results between 2.7 and 3.x.
(lookupvar was changed to return nil in 3.0.0.)