Test trimming.
Handle CRLF lines in tool_driver.py
Make it easier to add more tests.
Better code organization.
Split the driver code.