Minor code change related to static hamcrest import
Added Hamcrest dependency to build