Test adding tasks to the task collection