Revert "Exclude junit-dep as it is deprecated and use the latest version of JUnit instead (4.11). The 4.11 version permits @Rule declarations to be functions (sometimes needed)."

This reverts commit 5947e2020da0f9b6755ee260ea49818c981a85f6.