Testing and reconfiguration of VLSI linear arrays