fix bug and add spec for stacktrace formatting
add spec for trimming erb stack trace info
extra spec for erb formatting