Added Hamcrest hasProperty() test