Tests for ntb-buffer