Test coverage

Adding env to tests