Logging: Use correct module name for moduleDone

When a test suite runs with only a single module, the module name in the
moduleDone callback is incorrect. Using the previus name fixes this.

Fixes #491
Closes gh-492