ConsoleMessages tests and some StyleCop Errors fixed

ConsoleMessages tests and some StyleCop Errors fixed