Testing global key check