basic fun. of process task with tests