(My only worry is: this fails to test that the public API successfully reads $PATH.)