Add --test to dry_run and update_schedules
Fix error reporting
Merge pull request #1 from petr-tichy-gd/master

Some fixes