Key selection test not well implemented