[IMP] doc: add testing reference and improve docstrings