Add tests for .VAR.dynamic introspection