fixed docstrings
some testing support [WiP]