Export variables that are not PATH
Adapt tests for the export feature
Add a test for user PATH export

Add a test to ensure we don't use export in front of user PATH