Add test for minimal external link serialization

Change-Id: I425c1eb04ebf5c13a7fbdf97ee48c983460f1095