Refactored idea voting so users can only vote once, updated tests