tests: Use new terminal control methods