Added unit tests for jersey resource handlers