fixing randcolu and its tests