add test file for exceptions
debug errors
only debug important info