Fixed typo in tasks unittest.