tests, sort of
fix chain integration
add more tests (make sure your terminal is wide!)