defineFilter test added