Unit tests now working again and added unit test for twt_underlyingErrorsByKey