Add hamcrest dependency.