Test for the Console.clearMessages command.