Fix build config, needed fonts, remove dead code in test