Update tests to reflects changes made in Oasis.js.

Need to add more tests about `MessageChannel.postMessage` and
`Worker.postMessage`