fixed bug in running tests multiple times when copying/removing folder
fixed spec file bug