latex tests first