Added error counting and correctess test to all task modules