Add tests for an env package