XML saving test code works!