Adds a simple phpunit test

This adds a simple phpunit test for getting the name.