added basic regression tests