Enhanced workflow service tests

Also a minor bug fix in AlfrescoWorkflowTask