Added basic regression testing