some tests made common