added phpunit.xml and added retrieve test