Converted tests to PHPUnit.