Failed status update only after failure
U[pated test to reflect changes to failed state transition
Merge branch 'master' into export_progress_failed_logic
Clarified comment - Fixes #998
Merge pull request #999 from modilabs/export_progress_failed_logic

Export progress status logic - closes #998