Buggy code:
public class CurrentWebFrameworkTest extends ATest { @ Test public void test ( ) throws Exception { __ ( new JExpression ( _ ( _ , "service" , _ ( AN . _ , "resource" ) ) ) , new JExpression ( _ ( _ , "html" , _ ( AN . _ , "mime-type" , text ( "text//html" ) ) , _ ( AN . _ , "content" , element ( "html" , element ( "head" , element ( "title" , _ ( GET . _ , "title" ) ) ) , element ( "body" , _ ( ANY . _ , "layout" ) ) ) ) ) ) , new JExpression ( _ ( _ , "resource-not-found" , _ ( AN . _ , "not-found-content" ) , _ ( AN . _ , "title" , text ( "Not<seq2seq4repair_space>found" ) ) , _ ( AN . _ , "content" , text ( "Can\'t<seq2seq4repair_space>find<seq2seq4repair_space>resource<seq2seq4repair_space>\"" ) , _ ( GET . _ , "uri" ) , text ( "\"" ) ) ) ) , new JExpression ( _ ( _ , "it-working" , _ ( AN . _ , "root-content" ) , _ ( AN . _ , "title" , text ( "Welcome<seq2seq4repair_space>to<seq2seq4repair_space>Animo" ) ) , _ ( AN . _ , "content" , text ( "It<seq2seq4repair_space>is<seq2seq4repair_space>working!" ) ) ) ) , new JExpression ( _ ( _ , "localhost-site" , _ ( AN . _ , "site" ) , _ ( AN . _ , "server-name" , text ( "localhost" ) ) , _ ( USE . _ , "theme-concrete-root-layout" ) , _ ( USE . _ , "it-working" ) ) ) , new JExpression ( _ ( _ , "not-found-service" , _ ( AN . _ , "service" ) , _ ( AN . _ , "not-found" ) , _ ( AN . _ , "html" , _ ( ANY . _ , "not-found-content" ) , _ ( USE . _ , "not-found-layout" ) ) ) ) , new JExpression ( _ ( _ , "root-service" , _ ( AN . _ , "service" ) , _ ( AN . _ , "root" ) , _ ( AN . _ , "html" , _ ( ANY . _ , "root-content" ) , _ ( USE . _ , "root-layout" ) ) ) ) , new JExpression ( _ ( _ , "not-found-layout" , _ ( AN . _ , "layout" ) , element ( "p" , _ ( GET . _ , "content" ) ) ) ) , new JExpression ( _ ( _ , "root-layout" , _ ( AN . _ , "layout" ) , element ( "p" , text ( "The<seq2seq4repair_space>default<seq2seq4repair_space>root<seq2seq4repair_space>layout!" ) ) ) ) , new JExpression ( _ ( _ , "theme-concrete-root-layout" , _ ( AN . _ , "root-layout" ) , element ( "h1" , _ ( GET . _ , "title" ) ) , element ( "p" , _ ( GET . _ , "content" ) ) , element ( "ul" , element ( "li" , text ( "host:<seq2seq4repair_space>\"" ) , element ( "strong" , _ ( GET . _ , "host" ) ) , text ( "\"" ) ) , element ( "li" , text ( "uri:<seq2seq4repair_space>\"" ) , element ( "strong" , _ ( GET . _ , "uri" ) ) , text ( "\"" ) ) ) ) ) , new JExpression ( _ ( _ , "rest" , _ ( ANY . _ , "site" , _ ( WITH . _ , "server-name" , _ ( GET . _ , "host" ) ) ) , _ ( ANY . _ , "resource" ) ) ) ) ; JExpression s = new JExpression ( _ ( GET . _ , "content" , _ ( AN . _ , "rest" , _ ( USE . _ , "root" ) , _ ( AN . _ , "uri" , text ( "//" ) ) , _ ( AN . _ , "host" , text ( "localhost" ) ) ) ) ) ; <START_BUG> assertAnimoResult ( s , ( "have<seq2seq4repair_space>content<seq2seq4repair_space>" + ( ( ( ( ( ( ( "\\html<seq2seq4repair_space>" + "(\\head<seq2seq4repair_space>\\title<seq2seq4repair_space>title<seq2seq4repair_space>\"Welcome<seq2seq4repair_space>to<seq2seq4repair_space>Animo\")<seq2seq4repair_space>" ) + "(\\body<seq2seq4repair_space>the<seq2seq4repair_space>theme-concrete-root-layout<seq2seq4repair_space>(root-layout)<seq2seq4repair_space>" ) + "(\\h1<seq2seq4repair_space>title<seq2seq4repair_space>\"Welcome<seq2seq4repair_space>to<seq2seq4repair_space>Animo\")<seq2seq4repair_space>" ) + "(\\p<seq2seq4repair_space>content<seq2seq4repair_space>\"It<seq2seq4repair_space>is<seq2seq4repair_space>working!\")<seq2seq4repair_space>" ) + "(\\ul<seq2seq4repair_space>" ) + "(\\li<seq2seq4repair_space>\"host:<seq2seq4repair_space>\\\"\"<seq2seq4repair_space>(\\strong<seq2seq4repair_space>host<seq2seq4repair_space>\"localhost\")<seq2seq4repair_space>\"\\\"\")<seq2seq4repair_space>" ) + "(\\li<seq2seq4repair_space>\"uri:<seq2seq4repair_space>\\\"\"<seq2seq4repair_space>(\\strong<seq2seq4repair_space>uri<seq2seq4repair_space>\"//\")<seq2seq4repair_space>\"\\\"\")))." ) ) ) ; <END_BUG> assertXMLResult ( s , ( "<html>" + ( ( ( ( ( ( ( ( ( ( ( "<head>" + "<title>Welcome<seq2seq4repair_space>to<seq2seq4repair_space>Animo<//title>" ) + "<//head>" ) + "<body>" ) + "<h1>Welcome<seq2seq4repair_space>to<seq2seq4repair_space>Animo<//h1>" ) + "<p>It<seq2seq4repair_space>is<seq2seq4repair_space>working!<//p>" ) + "<ul>" ) + "<li>host:<seq2seq4repair_space>\"<strong>localhost<//strong>\"<//li>" ) + "<li>uri:<seq2seq4repair_space>\"<strong>//<//strong>\"<//li>" ) + "<//ul>" ) + "<//body>" ) + "<//html>" ) ) ) ; JExpression ss = new JExpression ( _ ( GET . _ , "content" , _ ( AN . _ , "rest" , _ ( USE . _ , "favicon.ico" ) , _ ( AN . _ , "uri" , text ( "//favicon.ico" ) ) , _ ( AN . _ , "host" , text ( "localhost" ) ) ) ) ) ; assertAnimoResult ( ss , "" ) ; } No newline ; at end ; of file ; }

Fix:
assertAnimoResult ( s , ( "content<seq2seq4repair_space>" + ( ( ( ( ( ( ( "\\html<seq2seq4repair_space>" + "(\\head<seq2seq4repair_space>\\title<seq2seq4repair_space>title<seq2seq4repair_space>\"Welcome<seq2seq4repair_space>to<seq2seq4repair_space>Animo\")<seq2seq4repair_space>" ) + "(\\body<seq2seq4repair_space>the<seq2seq4repair_space>theme-concrete-root-layout<seq2seq4repair_space>(root-layout)<seq2seq4repair_space>" ) + "(\\h1<seq2seq4repair_space>title<seq2seq4repair_space>\"Welcome<seq2seq4repair_space>to<seq2seq4repair_space>Animo\")<seq2seq4repair_space>" ) + "(\\p<seq2seq4repair_space>content<seq2seq4repair_space>\"It<seq2seq4repair_space>is<seq2seq4repair_space>working!\")<seq2seq4repair_space>" ) + "(\\ul<seq2seq4repair_space>" ) + "(\\li<seq2seq4repair_space>\"host:<seq2seq4repair_space>\\\"\"<seq2seq4repair_space>(\\strong<seq2seq4repair_space>host<seq2seq4repair_space>\"localhost\")<seq2seq4repair_space>\"\\\"\")<seq2seq4repair_space>" ) + "(\\li<seq2seq4repair_space>\"uri:<seq2seq4repair_space>\\\"\"<seq2seq4repair_space>(\\strong<seq2seq4repair_space>uri<seq2seq4repair_space>\"//\")<seq2seq4repair_space>\"\\\"\")))." ) ) ) ;