Improved test coverage. Minor code cleanup. Improved code comments and documentation. Small bug fix regarding 'too many throws' detection.