Fix adaptive component test.