improve test cont