adding root folder argument to exec command so that each hook can know what the root folder of the project is. Updating valid-mocha-tests so they start running