stub ws request from test