add test for taskprocessor function