Test for the page.post function

Function to test the page.post function.
Actually, it's only a copy of testpageopen.js that calls page.post instead.