Added testcases for widgetFactory and directiveFactory