Fixing hamcrest dependency: upgrading version and putting it in test scope since it was causing some build plans to fail