improving delegate vote test case