Fixed Add Cannon and Add Piece. Also created unittest