Update test-simple.js

add cdata write test