Added a test for poll creation. Fixed the default values in createPoll function because
test failed from the beginning with them. ;D

Signed-off-by: Norv <a.w.norv@gmail.com>