test(transport): spyOn console.log