add tests for auto trim