Define $xml to pass xml object

Add unit test to $xml key with request

Update readme.md