test(lua): add more tests for the environment Lua API

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