Fixed some dependency issues (multiple hamcrest versions, multiple spring test versions).