fixes to peek test