[test] added tests for web-outgoing.js