adjust testConsole
add targetViewChangeFunc