doc: cleanup
adds: tests