added adequate tests, rename gizmo.typeIs to gizmo.type, swaped params in gizmo.itIs