Workflow test for publishing, add doc for Pref activity