Fixed assertThat method and added hamcrest-library

Just a small commit to add hamcrest-library (lots of nice collection matchers that make life much better) and a tweak to the test class to use org.hamcrest.MatcherAssert.assertThat instead of org.junit.Assert.assertThat.