An adaptive low-cost tester architecture supporting embedded memory volume diagnosis