lon2canonical unittest