add test script for enchant.js