Tests adapted to known_keys modification