test how to publish to remote server