merge and add api test