Refine test to determine whether keys exist.