Add a test for withSandboxBinDirOnSearchPath.