Modify test so it is OK if class already loaded (rootmap)
Merge pull request #6773 from wmtan/ModifyTestForRootmap

Modify test so it is OK if class already loaded (rootmap)