Replaced JUnit asserts with Hamcrest ones