Added test for environment update
Merge pull request #1798 from tkolhar/test_cli

Added test for environment update