Unit test for the Visitor behavioral design pattern + minor fixes on console messages and example logic.