added tests for displaying the tables