unit test for ad.comm.service: race condition fixed