test: Support reftables in misc filesystem accesses
Context
Issue: #5841 (closed)
Modifies a few tests to be compatible with the new reftable reference backend. Note that this branch is based off !6701 (merged) which should be merged first.
Edited by James Liu