Test publishing