[api] fix test cases by adding missing files