Fix tabulate tests

1. Compute cumulative table if required.
2. Compute max cell width for each column. This also takes into account cumulative flag.
3. Modify test data to reflect minor changes in tabular output layout.
4. Update test system.