using hamcrests assert and removing syso