add test and method for - class Task, gives the task a creation date