The executor now takes a hash of environment variables to set/unset around the cmd's execution
Fixed accidentally ignored test cases