add regression tests