Implement import_auto_filter interface for table, and enable the test.
Extract common code blocks into a shared method.
Make it a real swap.