Fixing the unittest for the latex doc