Add Hamcrest as a dependency during tests
Disable parentHandlers during tests