Test module patching refactoring

Replaces module reloading in tearDown() with explicit mock patch start
and stop.