Registering tasks for test and site.