Added tests for the segment filter's applyToExchange field.