Add some tests
Writing character respects right-margin
Fix broken DECDSR
CR respects left margin
Add a test for tracer