add consoletest