Added missing test for tasks model.