added tests to api and fonts