Add tests for chown.
Add tests for set_target.
Add test to assert link behavior.