Adding filter transformer and tests.

Did you mean "transform" to be called, or "aggregations to be updated"