Fixes BaseIterateTool where sys.stdout isn't a real standard out.
Adds tests to the tool module.
Bumps version to 2.1.1