Bug 1053276 - [Messages] ActivityHandler tests are failing if the test a...

...gent is hidden r=azasypkin
I'm not sure, but you definetely should know :) - do we have new document object for every new test file? I'm wondering if we remove document property (```document.hidden``` in our case) here, can it affect other tests (in other test files) somehow?