fix 3D tables
fix test: let the test render decimals
fix: number of columns for flat and ordinary tables