fix code style of test_collect_emr_stats.py