add test and update init related to clinviate