Update canossa
Add tests for output.py