Fixed: test_nested_assert_select selects from elements instead of elements[0] and elements[1].
Added text case for non-comment. Removed pending assertion that passed.
asserted kind of DocumentFragment instead of Document.
add_regex returns inspected value for non Regexp objects. Workaround, so users don't have to care about enclosing values in double quotes.