I'm not sure we have tests for any of the code in `preview.py`, and unfortunately, I still don't feel comfortable enough with XBlock/XModule to write some and feel confident that I was testing it properly.

Added a docstring in de0749a.