Added some tests for conversion to/from XPC