Running test and getting XML as result