added tests for push and pull for sync mediator