Added stacktrace to exceptions
Fixed phpcs warnings
Fixed expectations
Merge pull request #1 from tailored-tunes/stacktrace-to-exceptions

Added stacktrace to exceptions