Added tests for node-based markup selection.