Update test.js

Added test to all the special character conversion.