[chore]add test.js