fixed hamcrest SecurityException (https://code.google.com/p/hamcrest/issues/detail?id=128)