test native api