instantiate xmlReader for testing