added tests for table info component