Use wait_for to allow course image time to update
Merge pull request #1243 from edx/will/fix-course-image-test

Use wait_for to allow course image time to update