Fixed the unit tests.

I added some height to the body element to make the window scrollable. Also, the scroll position is reset before each test.