api and app test