core: added functional test for event queues