Trim support
Merge pull request #87 from gergo-debreczeni/trim

Added trim support test case