spec/src/context.rb: use #inside_context

Fixes #12 (Refactor duplication in Context#cleanup)