added testing and display-table test