Fix test to use key_prefix option