Test for LogicGateBase