Change poll and _poll functions. Added __str__ and other helper functions
Added unittests. Added more systests. Changed coverage config