do not register a progress handler in the default case
Merge pull request #1316 from matley/engine-test-fix

Do not register a progress handler if it is not passed