adding unit test for task environment when brew environment not specified