Adding a test for large tables.
Refactoring to handle DOM modifications.