fix scope for junit dependency

* fixes issue when the junit.jar is actually bundled in the resulting EAR