Unit testing for downstream sync through websockets