Added tests on voting feature