code-coverage, better test/docs and liting