use identity check instead of equivalence for marker object
nuke test_bad_safeclose, which was of dubious value