added sync eventbus code + tests