Added test file for latex_mode