The test script for testing publish demo code.