Issue #1848338 by larowlan, DamienMcKenna: Added more tests, especially one for checking the editorial process on a node.
Issue #2362893 by ipo4ka704: Don't assume the first Panels context is an object.