Convert test suite to use PHPUnit