Use hamcrest matcher for better error reporting