Fix bug with namespaces to create phpunit tests