Add tests for multiple table items
Refactor row check in functional tests