error line test
renamed oddly named ctc.Error() more test coverage around functions
Fix linting errors