added test data script for votes and adjusted trends_controller