tests: use PHPUnit
cs fixes