Add JUnit test for InvalidArgumentException.
Make new API method from Processor interface visible in Service too.
Increase unit test coverage.

- Methods that have a throws-clause don't need to catch underlying exceptions.
  This also makes unit testing more effective.
- Move test for below-zero-reference-regions argument a bit further up in the
  method.
- Increase JUnit test coverage further.