Change test to pass on Chrome as well as FireFox.
Merge pull request #1285 from edx/christina/firefox-test-failure

Change mocking of height so it passes in Chrome as well as FireFox.