worked more on the xml gateway method tests.