Adds a simple phpunit test

This adds a simple phpunit test for getting the name.
You're right. Maybe I've only focussed on apps before. :-)