Bugzilla/1062819 pickup rebased/mobile connection core

Repeating myself but it might make it clearer. We should test the "externals" like -> after an attentionopen showIfLocked() doesn't actually shows, then after a 'attentionclose' it shows correctly.

Instead of testing that we set and _var when we get the events, then testing that depending on a _var we have another behavior.
It's easier to maintain and usually ends up covering more code.