Removed usage of hamcrest. It generates some dependency problems.