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

add unit test for widget manager