Added unit tests, additional signatures to TaskCollection