Do the TaskServiceTest on Activiti In Action chapter 4.