tests: use PHPUnit
code coverage, misc