no Jira - fix test to fail if an exception is thrown where not expected

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/trunk@1587940 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-1249] allow initialization of additional instances of a pipeline with the same resourcemanager, after the cas pool has been defined. Otherwise, report an error.

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/trunk@1587942 13f79535-47bb-0310-9956-ffa450edef68