fix copying test files on darwin