I added tests for the existence of the "hiding class".

It's difficult to add tests for the header switch effect because it relies a lot on CSS...