added some terminal_operations tests