Modified equals and hashCode methods for DataUnits. Use new cobertura plugin for gradle. Added some precondition test cases