add test for long polling