Add tests for get_poll and save_poll.