Add functional test to check the XML responses