final test for keys