ike-cfg: Add unit tests for ike_cfg_get_family() helper