Tests for 'Clearing the stack back to a given context' and 'Additions to "foster parenting"' chapters of the specification