selftest: Check re-opening sam.ldb corrects the @ATTRIBUTES and @INDEXLIST