fix error on test server-test.js