fix hamcrest usage