add test example for datrie and pytrie