add tests, remove unused
use htmlcoverage