adding testing option to singleplotwindow -- use testing=true to load local files