Added process-definition local listener declaration + tests