Add unit test for chktex