[ticket/11768] Added more tests about polls

PHPBB3-11768