set the correct permissions before runnig the tests