4687988 Weighted random pattern testing apparatus and method