lt-trim tests refactored a bit