Add a path test so that you can control exit code from ENV