Template.Components.Extensions.Html tests

- Added tests for menu factory.