Create set of objects before loading measure, find new measure that is not in current set, I have tested that this works when reloading the same test script multiple times

Might help address issue #460

[#53226809]
Merge remote-tracking branch 'origin/53226809_OSArgumentGetter' into dfg_temp_testing