Added task collection unit tests