Test Activiti functions