Remove test reliance on .env