Created Test class for the viewer

Used for tests on the ConsoleViwer.