fix env_do to accept a list
fix test and manage to deal with lists as commands.