Adds test case for JPX COC marker
Refactoring error reporting in JPX