Refactor CheckBoxRcpCountTest to be more stable.

Change-Id: Icc1965e6bc23423d8af66ab91b80143d07b49483