Added tests to for polls