clean up tests and doc