xbuf: clear fields in cleanup
add xbuf utest to precheckins