add unit test for #7
document how to run the test suite
add a test to make sure we don't break anything
fixes #7