Make srcParent for move/delete nullable.

Add 3 unit tests to cover these cases.

Test: It stopped crashing. New tests pass.

Bug: 33540755
Change-Id: I0c80ff1b0aa25cc218b4a0538a11189d36d6826b
11 files changed