Added unit test for vote cancelling.