Design for Testability – Pattern Generation and Simulation of Complex Circuits