fixed tests related to table printing