fix junit and hamcrest ordering in pom.xml

Hamcrest matchers failed because hamcrest-core version included into junit.jar conflicted in newer version of hamcrest