changed copyto tests to prevent travis-ci file write failure