[jan] Convert test suite to PHPUnit.