add BadKeyTest memoryleak.hander