[BUGFIX beta] Fix component registration tests under IE8.

In IE8 whitespace between `<div>` elements is not respected, causing these
tests to fail.

Test run [here](https://saucelabs.com/tests/a35559bee688473bb29db7acaa76ea7b).

![screenshot](https://saucelabs.com/jobs/a35559bee688473bb29db7acaa76ea7b/0001screenshot.png)