Acceptance test for STUD-1311.

Acceptance test for draft/publish bug.