Added basic regression tests