improved util test