Adds PHPUnit tests.