moved the xml filename to a parameter
added example test suite