Update test/test.js

apply test