Add nosetest for code which generates the progress fraction
Add unit tests to cover new Python lines
Amend test of progress fraction calculation to achieve 100% diff coverage