Modified test for enable_kernel_update so it works
for all cases of undefined, 1 and 0

Change-Id: Ic8ce848cc38fbbf6cb546e729ac3829c3151df00