An adaptive tester architecture for volume diagnosis