Using Hamcrest matchers for assertions