KeyExists test