Fixed TaskDao test.