Adding testing for web socket actor.