fixed strange random test