fix coverage for jasmine tests of voting + pinning