Change tools add_env_to_user API

* Accept simultaneous multiple envs additions in add_env_to_user
Adapt tests to new API
Enhance existing tests

Better check what we actually want to check
Test appending multiple envs for the same fw