Adding regression tests