Corrected environment variable comparison test