test: error unit tests (back at 100% coverage)