test api, fixed model type