Adds a test for extra tables invalidation.