tyler/dom - fixed unit test by mocking newFont and setFont