You may want to put these tests in a `run-pass` test instead of in the standard library. At least on windows the value of `PATH` affects how dynamic libraries are opened up, so this test executing at the same time as those tests may cause badness to arise.