add test for AbstractConsole