Bug 980074 - Base Tests for text selection, r=wesj