JSTPDispatch: tests for importFromJSON exportToJSON