id -> slug in unit tests fix