Fixed NoneTypeError in ProgressBar in case sys.stderr is None. Added tests for processing module.

3 jobs for bugfix/fix_NonetypeError in 3 minutes and 36 seconds (queued for 3 seconds)