agg mask doc + tests