Add some tests for the env module.