added new tests to PriorJCoreHandler, completed the issue #27.