Unit test for import performance STUD-1994

Unit test for this recurring issue: https://openedx.atlassian.net/browse/STUD-1994

@dmitchell @cpennington Please review.
added.