mocking template.browserUnsuportedBar in order to accomplish the test goals