[add] unit test for phpDocumentor\Plugin\Core\ServiceProvider::register()

This is the test I wrote during the July test fest with PFZ, so be gentle :)