Finally fixed the interacive test system