update tests and example files