test env variables before and after requiring module