Added a test case for failing call of execute() helper method.
Reverted implementation for task and job retrieval back to throw native ProcessEngineException instead of wrapping it into an IllegalStateException in some cases. Reasoning: this would lead to inconsistent behaviour when other ProcessEngineException than the expected illegal states are thrown... therefore better don't touch the exceptions.