blank out the remainder of the buffer

Change-Id: I33b6c2ab1068b7138ce99239f56552529d5206f5
check that AddToTable can be done validly

Change-Id: I0ee69279e3bb1d9871feba17b908b8307f0ec5b4