Add print visitor test case

Restructure .../input and .../output