Updated unit tests. Created some new factory methods for an ITask.