add test: put null buffer