add unit test for widget editor
Merge pull request #92 from shamenchens/TV-Widget-UnitTest

Add unit test for widget editor