update:add some functions in test/select.js