Update wsc-test.js

splice test