Added unit tests for SysTaskService.