add code to complete analog testing bug #7727