code-coverage, minor fixes, better doc