added test for create_poll_results_object