expect "export" in test configs
move the buffer-stealing API private; public already has pack()