Table: toggle. updated tests for fix #5839