Add a test to demonstrate checking for keys