test for is_prefab_key and fix