Replaces rsync to cp (to support Windows)
Merge pull request #2424 from yurydelendik/fix-makeref

Replaces rsync to cp in test.py