ensure that _head ignores non-element nodes, test ticks and _head