Dot printing

Fixes the test failures.