Programmable logic array (PLA) testing