wrote a test case for Pollview