testing ajax voting functionality