tests and xml input