Specify the tests and the task to be watched. Start extracting some code to a separate module