Use more generic env checking in tests