hamcrest jar for junit and modification to test