Added unit test to check if API XML created correctly for winrm