I think this should be in `nbconvert/exporters/tests/test_latex.py` rather than the tests for the top-level nbconvert command line,