Re #887 Catching IllegalArgumenException to prevent blocking of tests.