Added a test visitor for the Test AST element.

Signed-off-by: OnLiveChronium <onlivechronium@gmail.com>