Implemented the invoke test for the ProcessTask