Make QUnit tests for EventLogging voting

Bug: 49513
Change-Id: Ie51c7ce943e8be2a44cf7eed74bf5e6f709e132c