Added tests for equals method to DataItemTest

Change-Id: I260f2383d2db915a4aa349cdf26ada9eb511744f