test long polling in full application