@Test
public void test12() throws Exception {
String t = "http://www.google.com/search?q={term}";
String e = "http://www.google.com/search?q=ben%26jerrys";
HashMapContext c = new HashMapContext();
c.put("term","ben&jerrys");
eval(t,e,c);
t = "http://www.google.com/search?q={term}";
e = "http://www.google.com/search?q=2%2B2%3D5";
c = new HashMapContext();
c.put("term","2+2=5");
eval(t,e,c);
t = "http://www.google.com/base/feeds/snippets/?{-join|&|author}";
e = "http://www.google.com/base/feeds/snippets/?author=test%40example.com";
c = new HashMapContext();
c.put("author","test@example.com");
eval(t,e,c);
}