Adds a simple phpunit test

This adds a simple phpunit test for getting the name.
Hm, interesting. I know that projects like [Symfony](https://github.com/symfony/symfony/blob/master/.gitignore) add it to the `.gitignore`. I'm wondering whether you are supposed to commit it if you're developing an application but not when you're developing a library? Or maybe Symfony is just doing it wrong.