fix font tests

Change-Id: I2738ea2a5c6714d8e43c06aa2eb4c53500a5afe9