fix samples and tests: use acc.agg dot notation