remove newlines when adding env vars
added test setups