test for pollAttribute