perhaps fixed setting new id
adding some unit tests