Fixed card removal and added tests for voting