tests/buffer.cpp: test cainteoir::buffer construction