cleanup docs and tests