Updated phpunit tests for namespaced version