Add a test for user PATH export

Add a test to ensure we don't use export in front of user PATH
Fix a typo for returning only first match
Add go support