Wrote MaterialPackageManager.write_illustrate_module_stub() tests.