Fix test and removing double call of set_clip