Added unit tests to Task

> Fixed bugs in Task
> Removed BlockDateTest
> Corrected typos in DateTimeTest