snapshot
full path to ltx file
don't set wd
mute LaTeX
latexCmd is part of the hash
refactor: extract function getLatexCmd
preamble method only works for pdflatex
always set tikzMetricsMethod option before running test
adapt to interface changes in testthat 0.8