Added a warning that the test code is also used in the docs.
Improved context variable names.

Replaced tabs_parent with parent_tabs and tabs_children with child_tabs.