Handle subdirectories correctly in the instrument command for complete copy case
Update resolve dependency
Test data for complete copy
Speed up tests by not waiting after exit and handling close instead