Adds a simple phpunit test

This adds a simple phpunit test for getting the name.
It looks like Behat, monolog, and doctrine also have `composer.json` in `.gitignore` (and the last commit on doctrine's `.gitignore` is adding it a year ago), so I'm thinking that the composer instructions apply when you are building an app.