Add test files for aggregator to safe.test.data
Fix PEP8 issues