Add tests for unlink

This change also contains some indentation fixes and a rename
of assertPartial to assertStartsWith.

Bug: 3106438
Change-Id: Ibeacefbdfaeaa32945ef46e84fcd5e415e957b57
1 file changed