modified logic, and default values of renv var tests