Add test for lat?

Get confused about where the result of lambda takes its env from