added test cases, and xml for tests. GJ