Added a test suite target and runner
Added trim test cases
Mangle tests. Fixed up end of line mangle issue