Change self-test use of set_key("", index) into something that actually passes
a large enough buffer for any use.