is this a new test?

if yes, isn't it better to check for each env var is present, and the value, instead of a count?