Remove unexpected's entries from the stack traces of the thrown error objects

This fix makes sure that the top stack frame is the place that calls `expect`, which makes the output easier to parse.