Added setTerminal openTerminal and testTerminal function