Add common filter function for each fields.
Basic UT cases are added.