process_stats mocked v2