added unit test class and phpunit.xml config file