added QueueDispatcher, refactored tests
v0.4.0