Fix latex test