tests: use sed to prepend to .env file