Properly configure env for testings