Fix copy script to include hidden files
Improve test scripts