Use hamcrest matchers for tests