Migrate implements builder test to hamcrest

- implement hamcrest primitives: Matcher and Expectation
- implement InstanceOf matcher