Add unit test for structured clone support with postMessage. refs #10