Added specs to test poll api pagination