test: add regression tests