set hamcrest-library back to test scope
handling InvocationTargetException in property matchers