added partial draft regression test framework to unit tests