DOC/TEST improved failing errors and docstrings on metric