Convert test case for module weight fixer to UnitTest.