Fixed test case PreferenceSetting(), put the ConsoleHeight by default back to 0