Unit test for import performance STUD-1994

Unit test for this recurring issue: https://openedx.atlassian.net/browse/STUD-1994

@dmitchell @cpennington Please review.
As per my comment above, should we just make this an exact check?