Adds a simple phpunit test

This adds a simple phpunit test for getting the name.
We should add `composer.lock` here and remove the `composer.lock` file from the PR.