updated dependencies
removed internal error codes
ignore hard to test code for istanbul coverage
fixed test and istanbul coverage