Performance enhancements for unit tests

in test_contentstore, don't load the xml course if not necessary

@andy-armstrong plz review or assign to someone in T&L to review
@jzoldak fyi, you're welcome to review or propose someone on your team to review.

Not really related to this PR but the text was very confusing when I was trying to figure out what the above tests needed as far as a poll question.