Added phpunit.xml and some tests.