Added test for InstancesAggregatorFilter.java