correct test name: test_exc_logs -> test_expected_exception