fix out-dir flag for test target