added validation tests to the link model

Change-Id: I8d2a8f9a4de04af55bb1d0bf4ca285538a3da6a9