LPS-32678 Readd trim methods tests