peek: add regression tests