Test for RPC functionality.
This test calls a whole set of functions to test each of the primitive data types. The comparison results should all end with ": true", and the last test generates an Application Error (#1000). No other test generates that error, so receiving it means the complete set of tests was run.
These functions all use the synchronous interface. You should not use the synchronous interface because with some browsers, the entire browser environment locks up during a synchronous call. If the server hangs for a minute or two, so will the browser! You have been warned.