avoid an uninitialized value warning in the test and in general

Change-Id: I949fa478ed272557af76fbef11d61aab3ec3c3ae