Add filter unit tests