test native interface