Replace fontSizer with a simple implementation and mock it in the specs using spyOn.