update test for trim to ensure it's before crop