public boolean hasStopped() {
   return testAction == null || !testAction.isRunning();
 }
 public void stop() {
   testAction.stop();
 }