On the subtle uses of Hamcrest tests