Improve stability of test_studio_outline tests.

STUD-2084
Merge pull request #4781 from edx/christina/publishing-tests

Improve stability of test_studio_outline tests.