all: use slices instead of maps
test: add TestHist + Test2Tables
test: add FIXME