so I think that is an ok test but what you really want is to:

 * create an item with random values
 * serialise it to json with the toXContent()
 * deserialise the json back to an item 
 * compare the items - they should be the same
 * repeat a couple of times...