add test of calling get_keys without callback