update example
try cmd.js test on travis CI