[webapi] Add TCs for native file api