add regression tests
add tools