AddEditVar with weights
update test targets