tests: export create_shm_buffer() helper