Progress from a common testing session: improved code of index.js; testwebsocketserver can handle messages (IN PROGRESS)