fix test intergrity