Some fixes in phpunit.xml and added sample tests