Add a test and a printer visitor
Add comments to the test class