Adding first tests for AndGate.