Added tests and benchmarks for arrays, and tries