testing if tables are displayed correclty