test(lua/metavar_env): add missing tests

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>