fixing endless test