Deal with no-op trimming gracefully
Implemented failing unit test for workflow