Implementing and testing tables filter.