rspec error diagnostics: Fixed a bug in the after hook that was
probably causing the error diagnostics to not work at all in RSpec
3.x.
Adds Sim#stack_memory.