test for writing to a LaTeX inside lens.