Added test for ACT-1464
Merge branch 'master' of https://github.com/Activiti/Activiti