Test and debug interface improvements