Test/debug of publish functions.