Issue #450: Added test to make sure that an empty document is empty.
Issue #450: Empty is empty with caret inside the body as well.
Merge pull request #450 from mightyiam/issue_450

Test showing that an empty textarea stays empty
Merge branch 'master' into _getSelectedListItems
Test for `_getSelectedListItems`: Proof of concept.