Made example test.js a little more full featured :-)