Improved test stimulus scan-in method for integrated circuits