buaazp: modify unit test for attackrate.