Make stdin test run from any directory