Added some unit tests for parsing timed tasks (add command).
Made minor adjustments in Task class.