updated spec to match new stacktrace depth
use class variable memoization to reduce the number of calls to SQS