Fix StackTraceSpec again

I had used a test to make sure the output didn't contain a line number.
However, the previous test also caught