Correct test so its future proof
Fix weakref usage in Option and correct serialization of metadata on all managers