No cover for tests on try/except