Testing triemaps