Add test code to tree
First, use a widget to introduce mathjax js
Add widget
Fix test case