rename assertNotConsole to checkNotConsole