JC-1374 changed tests with expectedExceptionsMessageRegExp