Fixed unittests. Added support for forcing use of fallback longpolling event retriever.