Add missing tests for distance and lladser modules