Add test for getting the TargetPath property.