Changing assert to use hamcrest