MULE-6612: Core exports unnecessary transient dependency to junit

add missing junit test dependencies