Shift #246: making the dependency to junit optional