add api test
3 files changed