Update activity log, add more command unit test and cluster event unit test