debug testing infrastructure