Update test cases for console window toggle