added test to tabulate