test for ignoring nonexistant keys