Tests pass again. Added stubs for traceIn and traceOut, corrected tests to be consistent with new edit permission semantics