chore(tests): Add a method to get number of times each message was sent over the mock desktop channel.

@zaach r?