Include JUnit and Hamcrest in explicit dependencies.