inspector: Allow the test to be skipped by setting an environment variable.