minor
add basic regression test framework