Add test for complete task with date