String script = null;
System.Windows.Resources.StreamResourceInfo sr = Application.GetResourceStream(uri);
using (System.IO.StreamReader reader = new System.IO.StreamReader(sr.Stream))
script = reader.ReadToEnd();
How can I include these to run correctly the tests?