#68: Cleanup and test errors.py
 * replaced tool module with errors module in related files