Added TemplatedWidget QUnit tests

Change-Id: Ib38ae165188d7fa23e97d7b2ff0eaafcb00e839f
Merge "Added TemplatedWidget QUnit tests"