votes2: controller and some tests