Html helper factory

- Replaced html mock with a factory fro creating html helpers.