Adding validation of currentTerminal method.