adds tramo(cable, condition1, condition2) constructor and some tests